home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 1998 November / IRIX 6.5.2 Base Documentation November 1998.img / usr / share / catman / p_man / cat3 / Xm / XmGadget.z / XmGadget
Text File  |  1998-10-30  |  26KB  |  463 lines

  1.  
  2.  
  3.  
  4.      XXXXmmmmGGGGaaaaddddggggeeeetttt((((3333XXXX))))              UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV              XXXXmmmmGGGGaaaaddddggggeeeetttt((((3333XXXX))))
  5.  
  6.  
  7.  
  8.      NNNNAAAAMMMMEEEE
  9.           XXXXmmmmGGGGaaaaddddggggeeeetttt - The Gadget widget class
  10.  
  11.      SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.           #include <Xm/Xm.h>
  13.  
  14.      VVVVEEEERRRRSSSSIIIIOOOONNNN
  15.           This page documents Motif 2.1.
  16.  
  17.      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  18.           Gadget is a widget class used as a supporting superclass for
  19.           other gadget classes. It handles shadow-border drawing and
  20.           highlighting, traversal activation and deactivation, and
  21.           various callback lists needed by gadgets.
  22.  
  23.           The color and pixmap resources defined by XXXXmmmmMMMMaaaannnnaaaaggggeeeerrrr are
  24.           directly used by gadgets. If XXXXttttSSSSeeeettttVVVVaaaalllluuuueeeessss is used to change
  25.           one of the resources for a manager widget, all of the gadget
  26.           children within the manager also change.
  27.  
  28.         CCCCllllaaaasssssssseeeessss
  29.           Gadget inherits behavior and resources from OOOObbbbjjjjeeeecccctttt and
  30.           RRRReeeeccccttttOOOObbbbjjjj.
  31.  
  32.           The class pointer is _x_m_G_a_d_g_e_t_C_l_a_s_s.
  33.  
  34.           The class name is XXXXmmmmGGGGaaaaddddggggeeeetttt.
  35.  
  36.         NNNNeeeewwww RRRReeeessssoooouuuurrrrcccceeeessss
  37.           The following table defines a set of widget resources used
  38.           by the programmer to specify data. The programmer can also
  39.           set the resource values for the inherited classes to set
  40.           attributes for this widget. To reference a resource by name
  41.           or by class in a .Xdefaults file, remove the XXXXmmmmNNNN or XXXXmmmmCCCC
  42.           prefix and use the remaining letters. To specify one of the
  43.           defined values for a resource in a .Xdefaults file, remove
  44.           the XXXXmmmm prefix and use the remaining letters (in either
  45.           lowercase or uppercase, but include any underscores between
  46.           words).  The codes in the access column indicate if the
  47.           given resource can be set at creation time (C), set by using
  48.           XXXXttttSSSSeeeettttVVVVaaaalllluuuueeeessss (S), retrieved by using XXXXttttGGGGeeeettttVVVVaaaalllluuuueeeessss (G), or is
  49.           not applicable (N/A).
  50.  
  51.                                                XXXXmmmmGGGGaaaaddddggggeeeetttt RRRReeeessssoooouuuurrrrcccceeee SSSSeeeetttt
  52.           NNNNaaaammmmeeee                    CCCCllllaaaassssssss                   TTTTyyyyppppeeee               DDDDeeeeffffaaaauuuulllltttt                AAAAcccccccceeeessssssss
  53.           XmNbackground           XmCBackground           Pixel              dynamic                CSG
  54.           XmNbackgroundPixmap     XmCPixmap               Pixmap             XmUNSPECIFIED_PIXMAP   CSG
  55.           XmNbottomShadowColor    XmCBottomShadowColor    Pixel              dynamic                CSG
  56.           XmNbottomShadowPixmap   XmCBottomShadowPixmap   Pixmap             dynamic                CSG
  57.           XmNhelpCallback         XmCCallback             XtCallbackList     NULL                   C
  58.  
  59.  
  60.  
  61.  
  62.  
  63.      Page 1                                         (printed 10/24/98)
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.      XXXXmmmmGGGGaaaaddddggggeeeetttt((((3333XXXX))))              UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV              XXXXmmmmGGGGaaaaddddggggeeeetttt((((3333XXXX))))
  71.  
  72.  
  73.  
  74.           XmNforeground           XmCForeground           Pixel              dynamic                CSG
  75.           XmNhighlightColor       XmCHighlightColor       Pixel              dynamic                CSG
  76.           XmNhighlightOnEnter     XmCHighlightOnEnter     Boolean            False                  CSG
  77.           XmNhighlightPixmap      XmCHighlightPixmap      Pixmap             dynamic                CSG
  78.           XmNhighlightThickness   XmCHighlightThickness   Dimension          2                      CSG
  79.           XmNlayoutDirection      XmNCLayoutDirection     XmDirection        dynamic                CG
  80.           XmNnavigationType       XmCNavigationType       XmNavigationType   XmNONE                 CSG
  81.           XmNshadowThickness      XmCShadowThickness      Dimension          2                      CSG
  82.           XmNtopShadowColor       XmCTopShadowColor       Pixel              dynamic                CSG
  83.           XmNtopShadowPixmap      XmCTopShadowPixmap      Pixmap             dynamic                CSG
  84.           XmNtraversalOn          XmCTraversalOn          Boolean            True                   CSG
  85.           XmNunitType             XmCUnitType             unsigned char      dynamic                CSG
  86.           XmNuserData             XmCUserData             XtPointer          NULL                   CSG
  87.  
  88.           XXXXmmmmNNNNbbbbaaaacccckkkkggggrrrroooouuuunnnndddd
  89.                     Specifies the background color for the gadget.
  90.  
  91.           XXXXmmmmNNNNbbbbaaaacccckkkkggggrrrroooouuuunnnnddddPPPPiiiixxxxmmmmaaaapppp
  92.                     Specifies a pixmap for tiling the background. The
  93.                     first tile is placed at the upper left corner of
  94.                     the widget's window.
  95.  
  96.           XXXXmmmmNNNNbbbboooottttttttoooommmmSSSShhhhaaaaddddoooowwwwCCCCoooolllloooorrrr
  97.                     Contains the color to use to draw the bottom and
  98.                     right sides of the border shadow.
  99.  
  100.           XXXXmmmmNNNNbbbboooottttttttoooommmmSSSShhhhaaaaddddoooowwwwPPPPiiiixxxxmmmmaaaapppp
  101.                     Specifies the pixmap to use to draw the bottom and
  102.                     right sides of the border shadow.
  103.  
  104.           XXXXmmmmNNNNffffoooorrrreeeeggggrrrroooouuuunnnndddd
  105.                     Specifies the foreground drawing color used by
  106.                     Primitive widgets.
  107.  
  108.           XXXXmmmmNNNNhhhheeeellllppppCCCCaaaallllllllbbbbaaaacccckkkk
  109.                     Specifies the list of callbacks that is called
  110.                     when the help key sequence is pressed. The reason
  111.                     sent by the callback is XXXXmmmmCCCCRRRR____HHHHEEEELLLLPPPP.
  112.  
  113.           XXXXmmmmNNNNhhhhiiiigggghhhhlllliiiigggghhhhttttCCCCoooolllloooorrrr
  114.                     Contains the color of the highlighting rectangle.
  115.  
  116.           XXXXmmmmNNNNhhhhiiiigggghhhhlllliiiigggghhhhttttOOOOnnnnEEEEnnnntttteeeerrrr
  117.                     Specifies if the highlighting rectangle is drawn
  118.                     when the cursor moves into the widget.  If the
  119.                     shell's focus policy is XXXXmmmmEEEEXXXXPPPPLLLLIIIICCCCIIIITTTT, this resource
  120.                     is ignored, and the widget is highlighted when it
  121.                     has the focus.  If the shell's focus policy is
  122.                     XXXXmmmmPPPPOOOOIIIINNNNTTTTEEEERRRR and if this resource is True, the
  123.                     highlighting rectangle is drawn when the the
  124.                     cursor moves into the widget.  If the shell's
  125.                     focus policy is XXXXmmmmPPPPOOOOIIIINNNNTTTTEEEERRRR and if this resource is
  126.  
  127.  
  128.  
  129.      Page 2                                         (printed 10/24/98)
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136.      XXXXmmmmGGGGaaaaddddggggeeeetttt((((3333XXXX))))              UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV              XXXXmmmmGGGGaaaaddddggggeeeetttt((((3333XXXX))))
  137.  
  138.  
  139.  
  140.                     False, the highlighting rectangle is not drawn
  141.                     when the the cursor moves into the widget.  The
  142.                     default is False.
  143.  
  144.           XXXXmmmmNNNNhhhhiiiigggghhhhlllliiiigggghhhhttttPPPPiiiixxxxmmmmaaaapppp
  145.                     Specifies the pixmap used to draw the highlighting
  146.                     rectangle.
  147.  
  148.           XXXXmmmmNNNNhhhhiiiigggghhhhlllliiiigggghhhhttttTTTThhhhiiiicccckkkknnnneeeessssssss
  149.                     Specifies the thickness of the highlighting
  150.                     rectangle.
  151.  
  152.           XXXXmmmmNNNNllllaaaayyyyoooouuuuttttDDDDiiiirrrreeeeccccttttiiiioooonnnn
  153.                     Specifies the direction in which components of the
  154.                     manager (including strings) are laid out. The
  155.                     values are of type XXXXmmmmDDDDiiiirrrreeeeccccttttiiiioooonnnn. If the widget's
  156.                     parent is a manager or shell, the value is
  157.                     inherited from the widget's parent. Otherwise, it
  158.                     is inherited from the closest ancestor vendor or
  159.                     menu shell.
  160.  
  161.           XXXXmmmmNNNNnnnnaaaavvvviiiiggggaaaattttiiiioooonnnnTTTTyyyyppppeeee
  162.                     Determines whether the widget is a tab group.
  163.  
  164.                     XXXXmmmmNNNNOOOONNNNEEEE    Indicates that the widget is not a tab
  165.                               group.
  166.  
  167.                     XXXXmmmmTTTTAAAABBBB____GGGGRRRROOOOUUUUPPPP
  168.                               Indicates that the widget is a tab
  169.                               group, unless the XXXXmmmmNNNNnnnnaaaavvvviiiiggggaaaattttiiiioooonnnnTTTTyyyyppppeeee of
  170.                               another widget in the hierarchy is
  171.                               XXXXmmmmEEEEXXXXCCCCLLLLUUUUSSSSIIIIVVVVEEEE____TTTTAAAABBBB____GGGGRRRROOOOUUUUPPPP.
  172.  
  173.                     XXXXmmmmSSSSTTTTIIIICCCCKKKKYYYY____TTTTAAAABBBB____GGGGRRRROOOOUUUUPPPP
  174.                               Indicates that the widget is a tab
  175.                               group, even if the XXXXmmmmNNNNnnnnaaaavvvviiiiggggaaaattttiiiioooonnnnTTTTyyyyppppeeeeof
  176.                               another widget in the hierarchy is
  177.                               XXXXmmmmEEEEXXXXCCCCLLLLUUUUSSSSIIIIVVVVEEEE____TTTTAAAABBBB____GGGGRRRROOOOUUUUPPPP.
  178.  
  179.                     XXXXmmmmEEEEXXXXCCCCLLLLUUUUSSSSIIIIVVVVEEEE____TTTTAAAABBBB____GGGGRRRROOOOUUUUPPPP
  180.                               Indicates that the widget is a tab group
  181.                               and that widgets in the hierarchy whose
  182.                               XXXXmmmmNNNNnnnnaaaavvvviiiiggggaaaattttiiiioooonnnnTTTTyyyyppppeeee is XXXXmmmmTTTTAAAABBBB____GGGGRRRROOOOUUUUPPPP are not
  183.                               tab groups.
  184.  
  185.                               When a parent widget has an
  186.                               XXXXmmmmNNNNnnnnaaaavvvviiiiggggaaaattttiiiioooonnnnTTTTyyyyppppeeee of
  187.                               XXXXmmmmEEEEXXXXCCCCLLLLUUUUSSSSIIIIVVVVEEEE____TTTTAAAABBBB____GGGGRRRROOOOUUUUPPPP, traversal of
  188.                               non-tab-group widgets within the group
  189.                               is based on the order of those widgets
  190.                               in their parent's XXXXmmmmNNNNcccchhhhiiiillllddddrrrreeeennnn list.
  191.  
  192.  
  193.  
  194.  
  195.      Page 3                                         (printed 10/24/98)
  196.  
  197.  
  198.  
  199.  
  200.  
  201.  
  202.      XXXXmmmmGGGGaaaaddddggggeeeetttt((((3333XXXX))))              UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV              XXXXmmmmGGGGaaaaddddggggeeeetttt((((3333XXXX))))
  203.  
  204.  
  205.  
  206.                               When the XXXXmmmmNNNNnnnnaaaavvvviiiiggggaaaattttiiiioooonnnnTTTTyyyyppppeeee of any widget
  207.                               in a hierarchy is XXXXmmmmEEEEXXXXCCCCLLLLUUUUSSSSIIIIVVVVEEEE____TTTTAAAABBBB____GGGGRRRROOOOUUUUPPPP,
  208.                               traversal of tab groups in the hierarchy
  209.                               proceeds to widgets in the order in
  210.                               which their XXXXmmmmNNNNnnnnaaaavvvviiiiggggaaaattttiiiioooonnnnTTTTyyyyppppeeeeresources
  211.                               were specified as XXXXmmmmEEEEXXXXCCCCLLLLUUUUSSSSIIIIVVVVEEEE____TTTTAAAABBBB____GGGGRRRROOOOUUUUPPPP
  212.                               or XXXXmmmmSSSSTTTTIIIICCCCKKKKYYYY____TTTTAAAABBBB____GGGGRRRROOOOUUUUPPPP, whether by
  213.                               creating the widgets with that value, by
  214.                               calling XXXXttttSSSSeeeettttVVVVaaaalllluuuueeeessss, or by calling
  215.                               XXXXmmmmAAAAddddddddTTTTaaaabbbbGGGGrrrroooouuuupppp.
  216.  
  217.           XXXXmmmmNNNNsssshhhhaaaaddddoooowwwwTTTThhhhiiiicccckkkknnnneeeessssssss
  218.                     Specifies the size of the drawn border shadow.
  219.  
  220.           XXXXmmmmNNNNttttooooppppSSSShhhhaaaaddddoooowwwwCCCCoooolllloooorrrr
  221.                     Contains the color to use to draw the top and left
  222.                     sides of the border shadow.
  223.  
  224.           XXXXmmmmNNNNttttooooppppSSSShhhhaaaaddddoooowwwwPPPPiiiixxxxmmmmaaaapppp
  225.                     Specifies the pixmap to use to draw the top and
  226.                     left sides of the border shadow.
  227.  
  228.           XXXXmmmmNNNNttttrrrraaaavvvveeeerrrrssssaaaallllOOOOnnnn
  229.                     Specifies traversal activation for this gadget.
  230.  
  231.           XXXXmmmmNNNNuuuunnnniiiittttTTTTyyyyppppeeee
  232.                     Provides the basic support for resolution
  233.                     independence.  It defines the type of units a
  234.                     widget uses with sizing and positioning resources.
  235.                     If the widget's parent is a subclass of XXXXmmmmMMMMaaaannnnaaaaggggeeeerrrr
  236.                     and if the XXXXmmmmNNNNuuuunnnniiiittttTTTTyyyyppppeeee resource is not explicitly
  237.                     set, it defaults to the unit type of the parent
  238.                     widget.  If the widget's parent is not a subclass
  239.                     of XXXXmmmmMMMMaaaannnnaaaaggggeeeerrrr, the resource has a default unit type
  240.                     of XXXXmmmmPPPPIIIIXXXXEEEELLLLSSSS.
  241.  
  242.                     The unit type can also be specified in resource
  243.                     files, with the following format:
  244.  
  245.           <_f_l_o_a_t_i_n_g _v_a_l_u_e><_u_n_i_t>
  246.  
  247.                     where:
  248.  
  249.                     _u_n_i_t      is <" ", pixels, inches, centimeters,
  250.                               millimeters, points, font units>
  251.  
  252.                     _p_i_x_e_l_s    is <_p_i_x, _p_i_x_e_l, _p_i_x_e_l_s>
  253.  
  254.                     _i_n_c_h_e_s    is <_i_n, _i_n_c_h, _i_n_c_h_e_s>
  255.  
  256.                     _c_e_n_t_i_m_e_t_e_r
  257.                               is <_c_m, _c_e_n_t_i_m_e_t_e_r, _c_e_n_t_i_m_e_t_e_r_s>
  258.  
  259.  
  260.  
  261.      Page 4                                         (printed 10/24/98)
  262.  
  263.  
  264.  
  265.  
  266.  
  267.  
  268.      XXXXmmmmGGGGaaaaddddggggeeeetttt((((3333XXXX))))              UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV              XXXXmmmmGGGGaaaaddddggggeeeetttt((((3333XXXX))))
  269.  
  270.  
  271.  
  272.                     _m_i_l_l_i_m_e_t_e_r_s
  273.                               is <_m_m, _m_i_l_l_i_m_e_t_e_r, _m_i_l_l_i_m_e_t_e_r_s>
  274.  
  275.                     ppppooooiiiinnnnttttssss    is <_p_t, _p_o_i_n_t, _p_o_i_n_t_s>
  276.  
  277.                     ffffoooonnnntttt uuuunnnniiiittttssss
  278.                               is <_f_u, ffffoooonnnntttt____uuuunnnniiiitttt, ffffoooonnnntttt____uuuunnnniiiittttssss>
  279.  
  280.                     _f_l_o_a_t     is {"+"|"-"}{{<"0"-"9">*}.}<"0"-"9">*
  281.  
  282.                               Note that the type Dimension must always
  283.                               be positive.
  284.  
  285.                     For example,
  286.  
  287.           xmfonts*XmMainWindow.height: 10.4cm
  288.           *PostIn.width: 3inches
  289.  
  290.                     XXXXmmmmNNNNuuuunnnniiiittttTTTTyyyyppppeeee can have the following values:
  291.  
  292.                     XXXXmmmmPPPPIIIIXXXXEEEELLLLSSSS  All values provided to the widget are
  293.                               treated as normal pixel values.
  294.  
  295.                     XXXXmmmmMMMMIIIILLLLLLLLIIIIMMMMEEEETTTTEEEERRRRSSSS
  296.                               All values provided to the widget are
  297.                               treated as normal millimeter values.
  298.  
  299.                     _X_m_1_0_0_T_H__M_I_L_L_I_M_E_T_E_R_S
  300.                               All values provided to the widget are
  301.                               treated as 1/100 of a millimeter.
  302.  
  303.                     XXXXmmmmCCCCEEEENNNNTTTTIIIIMMMMEEEETTTTEEEERRRRSSSS
  304.                               All values provided to the widget are
  305.                               treated as normal centimeter values.
  306.  
  307.                     XXXXmmmmIIIINNNNCCCCHHHHEEEESSSS  All values provided to the widget are
  308.                               treated as normal inch values.
  309.  
  310.                     _X_m_1_0_0_0_T_H__I_N_C_H_E_S
  311.                               All values provided to the widget are
  312.                               treated as 1/1000 of an inch.
  313.  
  314.                     XXXXmmmmPPPPOOOOIIIINNNNTTTTSSSS  All values provided to the widget are
  315.                               treated as normal point values. A point
  316.                               is a unit used in text processing
  317.                               applications and is defined as 1/72 of
  318.                               an inch.
  319.  
  320.                     _X_m_1_0_0_T_H__P_O_I_N_T_S
  321.                               All values provided to the widget are
  322.                               treated as 1/100 of a point. A point is
  323.                               a unit used in text processing
  324.  
  325.  
  326.  
  327.      Page 5                                         (printed 10/24/98)
  328.  
  329.  
  330.  
  331.  
  332.  
  333.  
  334.      XXXXmmmmGGGGaaaaddddggggeeeetttt((((3333XXXX))))              UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV              XXXXmmmmGGGGaaaaddddggggeeeetttt((((3333XXXX))))
  335.  
  336.  
  337.  
  338.                               applications and is defined as 1/72
  339.                               inch.
  340.  
  341.                     XXXXmmmmFFFFOOOONNNNTTTT____UUUUNNNNIIIITTTTSSSS
  342.                               All values provided to the widget are
  343.                               treated as normal font units. A font
  344.                               unit has horizontal and vertical
  345.                               components.  These are the values of the
  346.                               XmScreen resources
  347.                               XXXXmmmmNNNNhhhhoooorrrriiiizzzzoooonnnnttttaaaallllFFFFoooonnnnttttUUUUnnnniiiittttand
  348.                               XXXXmmmmNNNNvvvveeeerrrrttttiiiiccccaaaallllFFFFoooonnnnttttUUUUnnnniiiitttt.
  349.  
  350.                     _X_m_1_0_0_T_H__F_O_N_T__U_N_I_T_S
  351.                               All values provided to the widget are
  352.                               treated as 1/100 of a font unit.  A font
  353.                               unit has horizontal and vertical
  354.                               components.  These are the values of the
  355.                               XmScreen resources
  356.                               XXXXmmmmNNNNhhhhoooorrrriiiizzzzoooonnnnttttaaaallllFFFFoooonnnnttttUUUUnnnniiiittttand
  357.                               XXXXmmmmNNNNvvvveeeerrrrttttiiiiccccaaaallllFFFFoooonnnnttttUUUUnnnniiiitttt.
  358.  
  359.           XXXXmmmmNNNNuuuusssseeeerrrrDDDDaaaattttaaaa
  360.                     Allows the application to attach any necessary
  361.                     specific data to the gadget.  This is an
  362.                     internally unused resource.
  363.  
  364.         IIIInnnnhhhheeeerrrriiiitttteeeedddd RRRReeeessssoooouuuurrrrcccceeeessss
  365.           Gadget inherits resources from the superclass described in
  366.           the following table.  For a complete description of each
  367.           resource, refer to the reference page for that superclass.
  368.  
  369.                                   RRRReeeeccccttttOOOObbbbjjjj RRRReeeessssoooouuuurrrrcccceeee SSSSeeeetttt
  370.           NNNNaaaammmmeeee                   CCCCllllaaaassssssss            TTTTyyyyppppeeee        DDDDeeeeffffaaaauuuulllltttt   AAAAcccccccceeeessssssss
  371.           XmNancestorSensitive   XmCSensitive     Boolean     dynamic   G
  372.           XmNborderWidth         XmCBorderWidth   Dimension   0         N/A
  373.           XmNheight              XmCHeight        Dimension   dynamic   CSG
  374.           XmNsensitive           XmCSensitive     Boolean     True      CSG
  375.           XmNwidth               XmCWidth         Dimension   dynamic   CSG
  376.           XmNx                   XmCPosition      Position    0         CSG
  377.           XmNy                   XmCPosition      Position    0         CSG
  378.  
  379.                                   OOOObbbbjjjjeeeecccctttt RRRReeeessssoooouuuurrrrcccceeee SSSSeeeetttt
  380.           NNNNaaaammmmeeee                 CCCCllllaaaassssssss         TTTTyyyyppppeeee             DDDDeeeeffffaaaauuuulllltttt   AAAAcccccccceeeessssssss
  381.           XmNdestroyCallback   XmCCallback   XtCallbackList   NULL      C
  382.  
  383.         CCCCaaaallllllllbbbbaaaacccckkkk IIIInnnnffffoooorrrrmmmmaaaattttiiiioooonnnn
  384.           A pointer to the following structure is passed to each
  385.           callback:
  386.  
  387.           typedef struct
  388.           {
  389.                   int _r_e_a_s_o_n;
  390.  
  391.  
  392.  
  393.      Page 6                                         (printed 10/24/98)
  394.  
  395.  
  396.  
  397.  
  398.  
  399.  
  400.      XXXXmmmmGGGGaaaaddddggggeeeetttt((((3333XXXX))))              UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV              XXXXmmmmGGGGaaaaddddggggeeeetttt((((3333XXXX))))
  401.  
  402.  
  403.  
  404.                   XEvent * _e_v_e_n_t;
  405.           } XmAnyCallbackStruct;
  406.  
  407.           _r_e_a_s_o_n    Indicates why the callback was invoked.  For this
  408.                     callback, _r_e_a_s_o_n is set to XXXXmmmmCCCCRRRR____HHHHEEEELLLLPPPP.
  409.  
  410.           _e_v_e_n_t     Points to the _X_E_v_e_n_t that triggered the callback.
  411.  
  412.         BBBBeeeehhhhaaaavvvviiiioooorrrr
  413.           Gadgets cannot have translations associated with them.
  414.           Because of this, a Gadget's behavior is determined by the
  415.           Manager widget into which the Gadget is placed. If focus is
  416.           on a Gadget, events are passed to the Gadget by its Manager.
  417.  
  418.      RRRREEEELLLLAAAATTTTEEEEDDDD
  419.           OOOObbbbjjjjeeeecccctttt(3), RRRReeeeccccttttOOOObbbbjjjj(3), XXXXmmmmMMMMaaaannnnaaaaggggeeeerrrr(3), and XXXXmmmmSSSSccccrrrreeeeeeeennnn(3).
  420.  
  421.  
  422.  
  423.  
  424.  
  425.  
  426.  
  427.  
  428.  
  429.  
  430.  
  431.  
  432.  
  433.  
  434.  
  435.  
  436.  
  437.  
  438.  
  439.  
  440.  
  441.  
  442.  
  443.  
  444.  
  445.  
  446.  
  447.  
  448.  
  449.  
  450.  
  451.  
  452.  
  453.  
  454.  
  455.  
  456.  
  457.  
  458.  
  459.      Page 7                                         (printed 10/24/98)
  460.  
  461.  
  462.  
  463.